package com.xu.service;


import com.github.pagehelper.PageInfo;
import com.xu.pojo.Course;
import com.xu.pojo.User;

import java.util.List;

public interface CourseService {
    List<Course> queryCourse();
    PageInfo<Course> queryCoursePaging(int pageNum, int pageSize);
    List<Course>queryCourseIf(String queryCondition, int collegeId);
    PageInfo<Course>queryCourseIfPaging(String queryCondition, int collegeId,int pageNum, int pageSize);
    PageInfo<Course>queryCourseByTeacherIdPaging(int teacherId,int pageNum, int pageSize);
    Course queryCourseById(int courseId);
    Boolean checkCourse(int teacherId,int courseId);
    int deleteCourse(int courseId);
    int updateCourse(Course course);
    int addCourse(Course course);
}
